home *** CD-ROM | disk | FTP | other *** search
- INCLUDE MODEL.INC
- ;
- ;---------------------------------------------------------------------------
- ; Function: int _bye_getcd()
- ;
- ; Parms: void
- ;
- ; Purpose: Test for carrier detect status from the modem.
- ; Returns a logical TRUE if the modem still has
- ; caller on line with carrier.
- ;
- ; Return: 1 = Carrier Detect found
- ; 0 = Carrier Detect not found
- ;---------------------------------------------------------------------------
- ;
- PUBLIC __bye_getcd
-
- __bye_getcd PROC
-
- mov ah,3 ;AH=3 for get CD state
- int BYE_VECT
- ret
-
- __bye_getcd ENDP
- END
-